<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>
                    <?php
                    if (isset($title) && $title != '')
                            echo $title;
                    else
                            echo 'Students Portal';
                    ?>
            </title>
            <!--GENERAL STYLE-->
            <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>css/forum.css"/>

            <!--MAIN SCRIPT-->
            <script type="text/javascript" src="<?php echo base_url()?>js/jquery-1.4.4.min.js"></script> 
            <script type="text/javascript">
                    $(document).ready(function() {

                        $(".signin").click(function(e) {          
                                            e.preventDefault();
                            $("fieldset#signin_menu").toggle();
                                            $(".signin").toggleClass("menu-open");
                        });

                                    $("fieldset#signin_menu").mouseup(function() {
                                            return false
                                    });
                                    $(document).mouseup(function(e) {
                                            if($(e.target).parent("a.signin").length==0) {
                                                    $(".signin").removeClass("menu-open");
                                                    $("fieldset#signin_menu").hide();
                                            }
                                    });			

                    });
            </script>

    </head>
    <body>
        <div id="headerforum">
            <div>
                    <img id="logo" src="<?php echo base_url()?>images/logoportal.png">
                    <div id="user">
                        <?php
                        if($this->session->userdata('logged_in')){
                            echo '
                        <div id="hello"> Hello '.$this->session->userdata('nama').' | '.anchor(base_url().'portal/profile_con/logout', 'Logout').' </div>
                        <img id="userlogo" src="'.$this->session->userdata('foto').'" width="183" height="55">
                                ';
                            
                        }
                        ?>
                    <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
            </div>
            <div id="menuutama">
                    <div id="menuutama2">
                    <a href="<?php echo base_url()?>portal/profile_con/coming_soon" class="">Announcement </a>
                    <a href="<?php echo base_url()?>portal/profile_con/coming_soon" class="ping">News</a>
                    <a href="<?php echo base_url()?>portal/profile_con/coming_soon" class="ping">Article </a>
                    <a href="<?php echo base_url()?>portal/schedule_con" class="ping">Schedule </a>
                    <a href="<?php echo base_url()?>portal/profile_con/coming_soon" class="ping">Forum </a>
                    <a href="<?php echo base_url()?>portal/profile_con/coming_soon" class="ping">Assesment </a>
                    <a href="<?php echo base_url()?>portal/profile_con/coming_soon" class="ping">Download </a>
                    <a href="<?php echo base_url()?>portal/profile_con/" class="ping">Profile </a>
                    <div class="ping satu">&nbsp;</div>
                    <div class="clear"></div>
                    </div>	
            </div>
        </div>
        				<?php echo $this->flash_message->show_all();?>